package org.rcy.ruicingmarket.exception;

import org.rcy.framework.api.entity.StatusCode;
import org.springframework.security.core.AuthenticationException;

/**
 * @author 吴康桥
 * @Description
 * @date 2022/11/1 15:15
 */


public class CaptchaException extends AuthenticationException {
	public CaptchaException(StatusCode statusCode) {
		super(statusCode.getReasonPhrase());
	}
	public CaptchaException(String message) {
		super(message);
	}
}
